package com.neusoft.neuiotms.dcom.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcom.dto.MaintainPlanDTO;

public interface MaintainPlanService {

    Page<MaintainPlanDTO> search(Pageable pageable, Searchable searchable);

    List<MaintainPlanDTO> findAll();

    List<MaintainPlanDTO> findAllEnabled();

    MaintainPlanDTO create(MaintainPlanDTO dto);

    MaintainPlanDTO update(Long id, MaintainPlanDTO dto);

    MaintainPlanDTO changeStatus(Long id, String flag);

    MaintainPlanDTO details(Long id);

    void delete(Long id);

}
